package o;

import android.app.Activity;
import android.content.Context;
import androidx.annotation.NonNull;

public class bqy {
    private static bqy ˏ = new bqy();
    private bqv ˋ;

    private bqy() {
    }

    public static bqy ˋ() {
        return ˏ;
    }

    public Context ˏ() {
        return ContentManager.getInstant().getContext();
    }

    public void ˏ(String str) {
        this.ˋ = bsv.ॱ(str);
    }

    public String ˎ() {
        return ॱ().ˎ();
    }

    public bqv ॱ() {
        if (this.ˋ != null) {
            return this.ˋ;
        }
        bqx.ॱ("ForumContext", "It has not set domain, using game default");
        return bqv.ˊ;
    }

    public int ˎ(@NonNull Context context) {
        if (context instanceof Activity) {
            return dgm.ˎ((Activity) context);
        }
        return ccz.ॱ();
    }
}
